<?php
/**
 * SocialEngine
 *
 * @category   Application_Extensions
 * @package    Newsletter Updates
 * @copyright  Copyright Hire-Experts LLC
 * @license    http://www.hire-experts.com
 * @version    $Id: install.php 2010-07-02 19:52 mirlan $
 * @author     Mirlan
 */

/**
 * @category   Application_Extensions
 * @package    Newsletter Updates
 * @copyright  Copyright Hire-Experts LLC
 * @license    http://www.hire-experts.com
 */

return array ('package' => array ('type' => 'module', 'name' => 'inviter', 'version' => '4.1.4p1', 'path' => 'application/modules/Inviter', 'meta' => array ('title' => 'Friends Inviter', 'description' => 'Friend Inviter', 'author' => 'Hire-Experts LLC' ), 'callback' => array ('path' => 'application/modules/Inviter/settings/install.php', 'class' => 'Inviter_Installer' ), 'actions' => array ('preinstall', 'install', 'upgrade', 'refresh', 'enable', 'disable' ), 'directories' => array ('application/modules/Inviter', 'application/libraries/Zend/Oauth' ), 'files' => array ('application/languages/en/inviter.csv', 'application/libraries/Zend/Oauth.php' ) ), // Hooks ---------------------------------------------------------------------
'hooks' => array (array ('event' => 'onUserCreateAfter', 'resource' => 'Inviter_Plugin_Core' ), array ('event' => 'onUserDeleteBefore', 'resource' => 'Inviter_Plugin_Core' ) ), // Routes --------------------------------------------------------------------
'routes' => array ('inviter' => array ('route' => 'inviter', 'defaults' => array ('module' => 'inviter', 'controller' => 'index', 'action' => 'index' ) ), 'inviter_members' => array ('route' => 'inviter/members/*', 'defaults' => array ('module' => 'inviter', 'controller' => 'index', 'action' => 'members' ) ), 'inviter_contacts' => array ('route' => 'inviter/contacts/*', 'defaults' => array ('module' => 'inviter', 'controller' => 'index', 'action' => 'contacts' ) ), 'inviter_invitations' => array ('route' => 'inviter/invitations/:page', 'defaults' => array ('module' => 'inviter', 'controller' => 'invitations', 'action' => 'index', 'page' => 1 ) ), 'inviter_invitations_delete' => array ('route' => 'inviter/invitations/delete/:id', 'defaults' => array ('module' => 'inviter', 'controller' => 'invitations', 'action' => 'delete', 'id' => 0 ) ), 'inviter_invitations_sendnew' => array ('route' => 'inviter/invitations/sendnew/:id', 'defaults' => array ('module' => 'inviter', 'controller' => 'invitations', 'action' => 'sendnew', 'id' => 0 ) ), 'inviter_referrals' => array ('route' => 'inviter/referrals/:page', 'defaults' => array ('module' => 'inviter', 'controller' => 'referrals', 'action' => 'index', 'page' => 1 ) ), 'inviter_facebook' => array ('route' => 'inviter/facebook', 'defaults' => array ('module' => 'inviter', 'controller' => 'facebook', 'action' => 'index' ) ), 'inviter_facebook_signup' => array ('route' => 'facebook/signup/*', 'defaults' => array ('module' => 'inviter', 'controller' => 'facebook', 'action' => 'join' ) ) ) )// end routes
;